﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctlPeriod.ascx.cs" Inherits="Ctl_ctlPeriod" %>
<table style="width: 100%;background-color :rgb(240, 240, 240); height: 57px;" 
    cellpadding ="2" cellspacing ="0" >
    <tr>
        <td width="300px" >
                <asp:TextBox ID="txtLexeme" Text =<%# _PeriodFiltr._Lexeme %> runat="server" CssClass="TextBox"></asp:TextBox>
            </td>
            
        <td width="5px">
                &nbsp;</td>
            
        <td width="30px" >
                <asp:ImageButton ID="btnFind" runat="server" 
                    ImageUrl="~/images/search_button.gif" onclick="btnFind_Click" 
                    style="height: 12px" />
            </td>
            
        <td >
                &nbsp;</td>
            
        <td style ="width:40px;font-size :xx-small">
            Период:</td>        
        <td style ="width:40px" >
            <asp:TextBox ID=txtStart CssClass ="TextBox" Text =<%# _PeriodFiltr._Start.ToShortDateString() %> runat="server"></asp:TextBox>
        </td>
        <td style ="width:5px" >
            &nbsp;</td>         
           <td style ="width:40px" >
            <asp:TextBox ID=txtFinish CssClass ="TextBox" 
                   Text =<%# _PeriodFiltr._Finish.ToShortDateString() %> runat="server" 
                   style="margin-bottom: 0px"></asp:TextBox>
        </td>
        <td style ="width:5px" >
            &nbsp;</td>  
        <td style ="width:35px" >
            <asp:DropDownList ID="cmbTermCount" runat="server">
                        <asp:ListItem Value="0">Месяц</asp:ListItem>
                        <asp:ListItem Value="1">Неделя</asp:ListItem>
                        <asp:ListItem Value="2">День</asp:ListItem>
                    </asp:DropDownList>
        </td>  
    </tr>   
    <tr style="height :15px">
        <td width="300px"  style ="font-size :xx-small">
                <asp:CheckBox ID="chShowOnlySelected" Checked=<%#_PeriodFiltr._ShowOnlySelected %> runat="server" Text="Только выбранные" />
            </td>
            
        <td  >
                &nbsp;</td>
            
        <td  >
                &nbsp;</td>
            
        <td >
                &nbsp;</td>
            
        <td style ="width:40px">
            &nbsp;</td>        
        <td colspan="5"  style ="font-size :xx-small">
        <asp:CheckBoxList  ID="CheckBoxList1" runat="server" 
                    RepeatDirection="Horizontal" Width="305px" Font-Size="XX-Small">
                    <asp:ListItem>Свободно</asp:ListItem>
                    <asp:ListItem>Занято</asp:ListItem>
                    <asp:ListItem>Усл. занято</asp:ListItem>
                </asp:CheckBoxList>        
            </td>
    </tr>   
</table>



        


